﻿<%@ Page Language="C#" MasterPageFile="~/Areas/admin/Views/Shared/Index.Master" Inherits="System.Web.Mvc.ViewPage<Longtop.Web.WebSite.Admin.Cases.IndexModel>" %>

<asp:Content ID="ToolBar" ContentPlaceHolderID="ToolBar" runat="server">
    <%= Html.ActionLink(string.Format("浏览 [{0}]",Model.Lable.Text), "list", new { id=this.ViewContext.RouteData.Values["id"]})%>
    <%if (Model.Lable.AllowCreateChild) { %>
    <%= Html.ActionLink(string.Format("浏览 [{0}] 的子类别", Model.Lable.Text), "list", new { controller = "labels", id = this.ViewContext.RouteData.Values["id"] })%>
    <%} %>
    <%= Html.ActionLink(string.Format("新增数据到 [{0}]",Model.Lable.Text), "create", new { id=this.ViewContext.RouteData.Values["id"]})%>
</asp:Content>
